﻿<ValidateForm class="form-inline" Model="@BindModel">
    <div class="row">
        <div class="form-group col-12 col-sm-6">
            <Select Color="Color.Primary" @bind-Value="@BindModel.Name">
                <RequiredValidator ErrorMessage="请选择一个城市" />
            </Select>
        </div>
        <div class="form-group col-12 col-sm-6">
            <Button type="submit">提交</Button>
        </div>
    </div>
</ValidateForm>
